<script>
/* should not generate diagnostics */
// export default with function `data`
export default {
	data: function () {
		return {
			foo: 'bar'
		};
	}
};
</script>
